<style type="text/css">
      
      .ok span, .warning span, .error span {
        font-weight: bolder;
      }
      
      .ok span {
        color: green;
      }
      
      .error span {
        color: red;
      }
      
      span.details {
        font-weight: normal;
        font-size: 12px;
        color: #999;
        display: block;
        padding: 5px;
      }
</style>
<div class="min_height">
<ul>
<?php
	App::import("Vendor",'Installer.SystemSettingsValidator');
	$ValidatorObject = new SystemSettingsValidator;
	$results = $ValidatorObject->check();
	foreach($results as $name => $result)
	{
		 print '<li class="' . $result->status . '"><span>' . $result->status . '</span> &mdash; ' . $result->message . '</li>';
	}
	//echo $html->link(__("Next Step"),array("action"=>"goToNext",$step));
?>
</ul>
</div>
<?php 
	//show link only if no error
	if($ValidatorObject->isAllPassing()){?>
<?php 
	echo $html->link(__("Next Step"),array("action"=>"goToNext",$step),array('class'=>'buttons'));?>

<?php }?>